#include "Common.h"
#include <stdio.h>

int main(void)
{
	int i=0;
	TUserInfo *rootUser = NULL;
	int res[10];
	
	for (i=0; i<10; ++i) res[i] = -1;
	for (i=0; i<10; ++i)
		addUser(rootUser, i, &rootUser);

	find(rootUser, 5, &rootUser);

	getAllUsers(rootUser, res);

	for (i=0; i<10; ++i)
		printf("%d ", res[i]);

	system("pause");

	return 0;
}